/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package clase_varias_grupal;
import java.awt.Font;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.TimeZone;
import java.util.Calendar;
import javax.swing.DefaultListModel;
/**
 *
 * @author Aca-La Ceibita
 */


public class Diseño_Clases_Varias extends javax.swing.JFrame {

    /**
     * Creates new form Diseño_Clases_Varias
     */
    public Diseño_Clases_Varias() {
        initComponents();
    }
    
    boolean deteccion = true;

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jMenu1 = new javax.swing.JMenu();
        jMenu2 = new javax.swing.JMenu();
        jCheckBoxMenuItem1 = new javax.swing.JCheckBoxMenuItem();
        jButton1 = new javax.swing.JButton();
        jMenuItem1 = new javax.swing.JMenuItem();
        jRadioButtonMenuItem1 = new javax.swing.JRadioButtonMenuItem();
        jLabel1 = new javax.swing.JLabel();
        jLabel2 = new javax.swing.JLabel();
        jTabbedPane1 = new javax.swing.JTabbedPane();
        jPanel3 = new javax.swing.JPanel();
        jLabel4 = new javax.swing.JLabel();
        jLabel3 = new javax.swing.JLabel();
        valor_real = new javax.swing.JTextField();
        jComboBox1 = new javax.swing.JComboBox();
        jComboBox2 = new javax.swing.JComboBox();
        valor_inicial = new javax.swing.JTextField();
        jPanel5 = new javax.swing.JPanel();
        jComboBox5 = new javax.swing.JComboBox();
        jScrollPane1 = new javax.swing.JScrollPane();
        jList1 = new javax.swing.JList();
        jLabel7 = new javax.swing.JLabel();
        jLabel8 = new javax.swing.JLabel();
        jPanel2 = new javax.swing.JPanel();
        jLabel6 = new javax.swing.JLabel();
        jComboBox4 = new javax.swing.JComboBox();
        jComboBox3 = new javax.swing.JComboBox();
        hora_saliente = new javax.swing.JFormattedTextField();
        hora_actual = new javax.swing.JFormattedTextField();
        jLabel11 = new javax.swing.JLabel();
        jPanel4 = new javax.swing.JPanel();
        jLabel9 = new javax.swing.JLabel();
        jComboBox8 = new javax.swing.JComboBox();
        valor_inicial_moneda = new javax.swing.JTextField();
        jComboBox7 = new javax.swing.JComboBox();
        jLabel10 = new javax.swing.JLabel();
        valor_real_moneda = new javax.swing.JTextField();
        jPanel1 = new javax.swing.JPanel();
        jButton10 = new javax.swing.JButton();
        jButton9 = new javax.swing.JButton();
        jButton12 = new javax.swing.JButton();
        jButton11 = new javax.swing.JButton();
        jButton2 = new javax.swing.JButton();
        jButton7 = new javax.swing.JButton();
        jButton13 = new javax.swing.JButton();
        jButton8 = new javax.swing.JButton();
        jButton5 = new javax.swing.JButton();
        jButton6 = new javax.swing.JButton();
        jButton3 = new javax.swing.JButton();
        jButton4 = new javax.swing.JButton();
        jButton14 = new javax.swing.JButton();
        Dato_salida = new javax.swing.JFormattedTextField();
        Ingreso_dato = new javax.swing.JTextField();
        jMenuBar1 = new javax.swing.JMenuBar();
        jMenu3 = new javax.swing.JMenu();
        jMenu5 = new javax.swing.JMenu();
        jMenu4 = new javax.swing.JMenu();

        jMenu1.setText("jMenu1");

        jMenu2.setText("jMenu2");

        jCheckBoxMenuItem1.setSelected(true);
        jCheckBoxMenuItem1.setText("jCheckBoxMenuItem1");

        jButton1.setText("jButton1");

        jMenuItem1.setText("jMenuItem1");

        jRadioButtonMenuItem1.setSelected(true);
        jRadioButtonMenuItem1.setText("jRadioButtonMenuItem1");

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setTitle("Programa_Multiple");
        addWindowListener(new java.awt.event.WindowAdapter() {
            public void windowOpened(java.awt.event.WindowEvent evt) {
                formWindowOpened(evt);
            }
        });

        jLabel1.setFont(new java.awt.Font("Papyrus", 1, 18)); // NOI18N
        jLabel1.setText("Dato de Entrada:");

        jLabel2.setFont(new java.awt.Font("Papyrus", 1, 18)); // NOI18N
        jLabel2.setText("Dato de Salida:");

        jTabbedPane1.setBorder(javax.swing.BorderFactory.createTitledBorder(""));
        jTabbedPane1.setForeground(new java.awt.Color(255, 0, 102));
        jTabbedPane1.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N

        jLabel4.setFont(new java.awt.Font("Papyrus", 1, 14)); // NOI18N
        jLabel4.setText("Valor:");

        jLabel3.setFont(new java.awt.Font("Papyrus", 1, 14)); // NOI18N
        jLabel3.setText("Valor:");

        valor_real.setFont(new java.awt.Font("Papyrus", 1, 18)); // NOI18N

        jComboBox1.setFont(new java.awt.Font("Papyrus", 1, 18)); // NOI18N
        jComboBox1.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Item 1", "Item 2", "Item 3", "Item 4" }));

        jComboBox2.setFont(new java.awt.Font("Papyrus", 1, 18)); // NOI18N
        jComboBox2.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Item 1", "Item 2", "Item 3", "Item 4" }));

        valor_inicial.setFont(new java.awt.Font("Papyrus", 1, 18)); // NOI18N

        javax.swing.GroupLayout jPanel3Layout = new javax.swing.GroupLayout(jPanel3);
        jPanel3.setLayout(jPanel3Layout);
        jPanel3Layout.setHorizontalGroup(
            jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel3Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                    .addGroup(jPanel3Layout.createSequentialGroup()
                        .addComponent(jLabel3)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addComponent(valor_inicial, javax.swing.GroupLayout.PREFERRED_SIZE, 140, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addComponent(jComboBox1, javax.swing.GroupLayout.PREFERRED_SIZE, 220, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 78, Short.MAX_VALUE)
                .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                    .addGroup(jPanel3Layout.createSequentialGroup()
                        .addComponent(jLabel4)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addComponent(valor_real, javax.swing.GroupLayout.PREFERRED_SIZE, 140, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addComponent(jComboBox2, javax.swing.GroupLayout.PREFERRED_SIZE, 220, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(38, 38, 38))
        );
        jPanel3Layout.setVerticalGroup(
            jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel3Layout.createSequentialGroup()
                .addGap(31, 31, 31)
                .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jComboBox1, javax.swing.GroupLayout.PREFERRED_SIZE, 54, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jComboBox2, javax.swing.GroupLayout.PREFERRED_SIZE, 54, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(91, 91, 91)
                .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(valor_inicial, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(jLabel3))
                    .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(valor_real, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(jLabel4)))
                .addContainerGap(126, Short.MAX_VALUE))
        );

        jTabbedPane1.addTab("Conversion de Unidades", jPanel3);

        jComboBox5.setFont(new java.awt.Font("Papyrus", 1, 18)); // NOI18N
        jComboBox5.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Item 1", "Item 2", "Item 3", "Item 4" }));

        jList1.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N
        jList1.setModel(new javax.swing.AbstractListModel() {
            String[] strings = { "Item 1", "Item 2", "Item 3", "Item 4", "Item 5" };
            public int getSize() { return strings.length; }
            public Object getElementAt(int i) { return strings[i]; }
        });
        jScrollPane1.setViewportView(jList1);

        jLabel7.setFont(new java.awt.Font("Papyrus", 1, 14)); // NOI18N
        jLabel7.setText("No. de Talla");

        jLabel8.setFont(new java.awt.Font("Papyrus", 1, 14)); // NOI18N
        jLabel8.setText("Resultados");

        javax.swing.GroupLayout jPanel5Layout = new javax.swing.GroupLayout(jPanel5);
        jPanel5.setLayout(jPanel5Layout);
        jPanel5Layout.setHorizontalGroup(
            jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel5Layout.createSequentialGroup()
                .addGap(108, 108, 108)
                .addGroup(jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(jLabel7)
                    .addComponent(jComboBox5, javax.swing.GroupLayout.PREFERRED_SIZE, 86, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGroup(jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel5Layout.createSequentialGroup()
                        .addGap(45, 45, 45)
                        .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 194, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(jPanel5Layout.createSequentialGroup()
                        .addGap(100, 100, 100)
                        .addComponent(jLabel8)))
                .addContainerGap(126, Short.MAX_VALUE))
        );
        jPanel5Layout.setVerticalGroup(
            jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel5Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel7)
                    .addComponent(jLabel8))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 297, Short.MAX_VALUE)
                    .addGroup(jPanel5Layout.createSequentialGroup()
                        .addComponent(jComboBox5, javax.swing.GroupLayout.PREFERRED_SIZE, 54, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(0, 0, Short.MAX_VALUE))))
        );

        jTabbedPane1.addTab("Conversion de Talla", jPanel5);

        jLabel6.setFont(new java.awt.Font("Papyrus", 1, 14)); // NOI18N
        jLabel6.setText("Horario Actual");

        jComboBox4.setFont(new java.awt.Font("Papyrus", 1, 18)); // NOI18N
        jComboBox4.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Item 1", "Item 2", "Item 3", "Item 4" }));

        jComboBox3.setFont(new java.awt.Font("Papyrus", 1, 18)); // NOI18N
        jComboBox3.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Item 1", "Item 2", "Item 3", "Item 4" }));

        hora_saliente.setFormatterFactory(new javax.swing.text.DefaultFormatterFactory(new javax.swing.text.DateFormatter(java.text.DateFormat.getTimeInstance(java.text.DateFormat.SHORT))));

        hora_actual.setFormatterFactory(new javax.swing.text.DefaultFormatterFactory(new javax.swing.text.DateFormatter(java.text.DateFormat.getTimeInstance(java.text.DateFormat.SHORT))));

        jLabel11.setFont(new java.awt.Font("Papyrus", 1, 14)); // NOI18N
        jLabel11.setText("Horario Actual:");

        javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);
        jPanel2.setLayout(jPanel2Layout);
        jPanel2Layout.setHorizontalGroup(
            jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel2Layout.createSequentialGroup()
                .addGap(56, 56, 56)
                .addComponent(jLabel11)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 190, Short.MAX_VALUE)
                .addComponent(jLabel6)
                .addGap(92, 92, 92))
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel2Layout.createSequentialGroup()
                .addGap(30, 30, 30)
                .addComponent(hora_actual, javax.swing.GroupLayout.PREFERRED_SIZE, 170, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addComponent(hora_saliente, javax.swing.GroupLayout.PREFERRED_SIZE, 170, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(66, 66, 66))
            .addGroup(jPanel2Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jComboBox3, javax.swing.GroupLayout.PREFERRED_SIZE, 220, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(79, 79, 79)
                .addComponent(jComboBox4, javax.swing.GroupLayout.PREFERRED_SIZE, 220, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        jPanel2Layout.setVerticalGroup(
            jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel2Layout.createSequentialGroup()
                .addGap(35, 35, 35)
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jComboBox4, javax.swing.GroupLayout.PREFERRED_SIZE, 54, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jComboBox3, javax.swing.GroupLayout.PREFERRED_SIZE, 54, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(34, 34, 34)
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel6)
                    .addComponent(jLabel11))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(hora_saliente, javax.swing.GroupLayout.PREFERRED_SIZE, 32, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(hora_actual, javax.swing.GroupLayout.PREFERRED_SIZE, 32, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(153, Short.MAX_VALUE))
        );

        jTabbedPane1.addTab("Conversiones de Hora", jPanel2);

        jLabel9.setFont(new java.awt.Font("Papyrus", 1, 14)); // NOI18N
        jLabel9.setText("Valor:");

        jComboBox8.setFont(new java.awt.Font("Papyrus", 1, 18)); // NOI18N
        jComboBox8.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Item 1", "Item 2", "Item 3", "Item 4" }));

        valor_inicial_moneda.setFont(new java.awt.Font("Papyrus", 1, 18)); // NOI18N

        jComboBox7.setFont(new java.awt.Font("Papyrus", 1, 18)); // NOI18N
        jComboBox7.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Item 1", "Item 2", "Item 3", "Item 4" }));

        jLabel10.setFont(new java.awt.Font("Papyrus", 1, 14)); // NOI18N
        jLabel10.setText("Valor:");

        valor_real_moneda.setFont(new java.awt.Font("Papyrus", 1, 18)); // NOI18N

        javax.swing.GroupLayout jPanel4Layout = new javax.swing.GroupLayout(jPanel4);
        jPanel4.setLayout(jPanel4Layout);
        jPanel4Layout.setHorizontalGroup(
            jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel4Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addGroup(jPanel4Layout.createSequentialGroup()
                        .addComponent(jLabel9)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addComponent(valor_inicial_moneda, javax.swing.GroupLayout.PREFERRED_SIZE, 140, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addComponent(jComboBox7, javax.swing.GroupLayout.PREFERRED_SIZE, 220, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 78, Short.MAX_VALUE)
                .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                    .addGroup(jPanel4Layout.createSequentialGroup()
                        .addComponent(jLabel10)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addComponent(valor_real_moneda, javax.swing.GroupLayout.PREFERRED_SIZE, 140, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addComponent(jComboBox8, javax.swing.GroupLayout.PREFERRED_SIZE, 220, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(38, 38, 38))
        );
        jPanel4Layout.setVerticalGroup(
            jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel4Layout.createSequentialGroup()
                .addGap(34, 34, 34)
                .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jComboBox7, javax.swing.GroupLayout.PREFERRED_SIZE, 54, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jComboBox8, javax.swing.GroupLayout.PREFERRED_SIZE, 54, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(89, 89, 89)
                .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(valor_inicial_moneda, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel9)
                    .addComponent(jLabel10)
                    .addComponent(valor_real_moneda, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(125, Short.MAX_VALUE))
        );

        jTabbedPane1.addTab("Conversion de Moneda", jPanel4);

        jButton10.setText("9");
        jButton10.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton10ActionPerformed(evt);
            }
        });

        jButton9.setText("8");
        jButton9.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton9ActionPerformed(evt);
            }
        });

        jButton12.setText("C");
        jButton12.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton12ActionPerformed(evt);
            }
        });

        jButton11.setText("0");
        jButton11.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton11ActionPerformed(evt);
            }
        });

        jButton2.setText("3");
        jButton2.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton2ActionPerformed(evt);
            }
        });

        jButton7.setText("4");
        jButton7.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton7ActionPerformed(evt);
            }
        });

        jButton13.setText("←");
        jButton13.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton13ActionPerformed(evt);
            }
        });

        jButton8.setText("7");
        jButton8.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton8ActionPerformed(evt);
            }
        });

        jButton5.setText("6");
        jButton5.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton5ActionPerformed(evt);
            }
        });

        jButton6.setText("5");
        jButton6.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton6ActionPerformed(evt);
            }
        });

        jButton3.setText("2");
        jButton3.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton3ActionPerformed(evt);
            }
        });

        jButton4.setText("1");
        jButton4.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton4ActionPerformed(evt);
            }
        });

        jButton14.setText("=");
        jButton14.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton14ActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
        jPanel1.setLayout(jPanel1Layout);
        jPanel1Layout.setHorizontalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel1Layout.createSequentialGroup()
                        .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()
                                .addComponent(jButton8, javax.swing.GroupLayout.PREFERRED_SIZE, 58, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 8, Short.MAX_VALUE)
                                .addComponent(jButton9, javax.swing.GroupLayout.PREFERRED_SIZE, 58, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addComponent(jButton10, javax.swing.GroupLayout.PREFERRED_SIZE, 58, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(jPanel1Layout.createSequentialGroup()
                                .addComponent(jButton4, javax.swing.GroupLayout.PREFERRED_SIZE, 58, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                .addComponent(jButton3, javax.swing.GroupLayout.PREFERRED_SIZE, 58, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(jButton2, javax.swing.GroupLayout.PREFERRED_SIZE, 58, javax.swing.GroupLayout.PREFERRED_SIZE)))
                        .addGap(18, 18, 18))
                    .addGroup(jPanel1Layout.createSequentialGroup()
                        .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jPanel1Layout.createSequentialGroup()
                                .addComponent(jButton12, javax.swing.GroupLayout.PREFERRED_SIZE, 58, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(jButton11, javax.swing.GroupLayout.PREFERRED_SIZE, 58, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addGap(10, 10, 10)
                                .addComponent(jButton13, javax.swing.GroupLayout.PREFERRED_SIZE, 58, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(jPanel1Layout.createSequentialGroup()
                                .addComponent(jButton7, javax.swing.GroupLayout.PREFERRED_SIZE, 58, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addComponent(jButton6, javax.swing.GroupLayout.PREFERRED_SIZE, 58, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addComponent(jButton5, javax.swing.GroupLayout.PREFERRED_SIZE, 58, javax.swing.GroupLayout.PREFERRED_SIZE)))
                        .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                    .addGroup(jPanel1Layout.createSequentialGroup()
                        .addComponent(jButton14, javax.swing.GroupLayout.PREFERRED_SIZE, 192, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(0, 0, Short.MAX_VALUE))))
        );
        jPanel1Layout.setVerticalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addGap(35, 35, 35)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jButton4, javax.swing.GroupLayout.PREFERRED_SIZE, 63, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jButton3, javax.swing.GroupLayout.PREFERRED_SIZE, 63, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jButton2, javax.swing.GroupLayout.PREFERRED_SIZE, 63, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jButton7, javax.swing.GroupLayout.PREFERRED_SIZE, 63, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jButton6, javax.swing.GroupLayout.PREFERRED_SIZE, 63, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jButton5, javax.swing.GroupLayout.PREFERRED_SIZE, 63, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                    .addComponent(jButton8, javax.swing.GroupLayout.PREFERRED_SIZE, 63, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jButton10, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(jButton9, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(jButton11, javax.swing.GroupLayout.DEFAULT_SIZE, 63, Short.MAX_VALUE)
                    .addComponent(jButton12, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(jButton13, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 11, Short.MAX_VALUE)
                .addComponent(jButton14, javax.swing.GroupLayout.PREFERRED_SIZE, 79, javax.swing.GroupLayout.PREFERRED_SIZE))
        );

        Dato_salida.setFormatterFactory(new javax.swing.text.DefaultFormatterFactory(new javax.swing.text.DateFormatter(java.text.DateFormat.getTimeInstance(java.text.DateFormat.SHORT))));
        Dato_salida.setFont(new java.awt.Font("Tahoma", 1, 14)); // NOI18N

        Ingreso_dato.setFont(new java.awt.Font("Tahoma", 1, 14)); // NOI18N

        jMenu3.setText("Archivo");

        jMenu5.setText("Salir");
        jMenu5.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jMenu5ActionPerformed(evt);
            }
        });
        jMenu3.add(jMenu5);

        jMenuBar1.add(jMenu3);
        jMenuBar1.add(jMenu4);

        setJMenuBar(jMenuBar1);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGap(24, 24, 24)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addComponent(jTabbedPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 575, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(18, 18, 18)
                        .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(layout.createSequentialGroup()
                        .addComponent(jLabel1)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(Ingreso_dato, javax.swing.GroupLayout.PREFERRED_SIZE, 100, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(56, 56, 56)
                        .addComponent(jLabel2)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(Dato_salida, javax.swing.GroupLayout.PREFERRED_SIZE, 102, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(jTabbedPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 370, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(Ingreso_dato, javax.swing.GroupLayout.PREFERRED_SIZE, 32, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(Dato_salida, javax.swing.GroupLayout.PREFERRED_SIZE, 32, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel2)
                    .addComponent(jLabel1))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void formWindowOpened(java.awt.event.WindowEvent evt) {//GEN-FIRST:event_formWindowOpened
        
        jComboBox1.removeAllItems();
        jComboBox2.removeAllItems();
        jComboBox3.removeAllItems();
        jComboBox4.removeAllItems();
        jComboBox5.removeAllItems();
        jComboBox7.removeAllItems();
        jComboBox8.removeAllItems();
        limpiar();
        String[] valores = {"Kilometros", "Millas", "Litros", "Galones", "Centimetros", "Pulgadas"};
        
          jComboBox1.addItem(valores[0]);
          jComboBox1.addItem(valores[1]);
          jComboBox1.addItem(valores[2]);
          jComboBox1.addItem(valores[3]); 
          jComboBox1.addItem(valores[4]);
          jComboBox1.addItem(valores[5]);
          
          jComboBox2.addItem(valores[0]);
          jComboBox2.addItem(valores[1]);
          jComboBox2.addItem(valores[2]);
          jComboBox2.addItem(valores[3]); 
          jComboBox2.addItem(valores[4]);
          jComboBox2.addItem(valores[5]);
          
        String[] conversionhora = {"Seul", "Praga", "Astana", "Luxcemburgo"};
        
          jComboBox3.addItem(conversionhora[0]);
          jComboBox3.addItem(conversionhora[1]);
          jComboBox3.addItem(conversionhora[2]);
          jComboBox3.addItem(conversionhora[3]); 
          
          jComboBox4.addItem(conversionhora[0]);
          jComboBox4.addItem(conversionhora[1]);
          jComboBox4.addItem(conversionhora[2]);
          jComboBox4.addItem(conversionhora[3]); 
          
        String[] conversionTalla = {""};
        
        String[] conversionmoneda = {"Quetzal", "Dolar", "Peso Argentino", "Euro", "Libra"};
        
        jComboBox7.addItem(conversionmoneda[0]);
        jComboBox7.addItem(conversionmoneda[1]);
        jComboBox7.addItem(conversionmoneda[2]);
        jComboBox7.addItem(conversionmoneda[3]);
        jComboBox7.addItem(conversionmoneda[4]);
        
        jComboBox8.addItem(conversionmoneda[0]);
        jComboBox8.addItem(conversionmoneda[1]);
        jComboBox8.addItem(conversionmoneda[2]);
        jComboBox8.addItem(conversionmoneda[3]);
        jComboBox8.addItem(conversionmoneda[4]);
        
        String[] tallas = {"33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43", "44", "45"};
        jComboBox5.addItem(tallas[0]);
        jComboBox5.addItem(tallas[1]);
        jComboBox5.addItem(tallas[2]);
        jComboBox5.addItem(tallas[3]);
        jComboBox5.addItem(tallas[4]);
        jComboBox5.addItem(tallas[5]);
        jComboBox5.addItem(tallas[6]);
        jComboBox5.addItem(tallas[7]);
        jComboBox5.addItem(tallas[8]);
        jComboBox5.addItem(tallas[9]);
        jComboBox5.addItem(tallas[10]);
        jComboBox5.addItem(tallas[11]);
        jComboBox5.addItem(tallas[12]); 
        
    }//GEN-LAST:event_formWindowOpened

    private void jButton4ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton4ActionPerformed
        
        if (deteccion)
            {
                Ingreso_dato.setText("");
                Ingreso_dato.setText("1");
                deteccion = false;
            }
           else {
               Ingreso_dato.setText(Ingreso_dato.getText() + "1");
            }
    }//GEN-LAST:event_jButton4ActionPerformed
    private void limpiar()
    {
    DefaultListModel model = new DefaultListModel();
        jList1.setModel(model); 
    }
    private void jButton3ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton3ActionPerformed
        if (deteccion)
            {
                Ingreso_dato.setText("");
                Ingreso_dato.setText("2");
                deteccion = false;
            }
           else {
               Ingreso_dato.setText(Ingreso_dato.getText() + "2");
            }
    }//GEN-LAST:event_jButton3ActionPerformed

    private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton2ActionPerformed
        if (deteccion)
            {
                Ingreso_dato.setText("");
                Ingreso_dato.setText("3");
                deteccion = false;
            }
           else {
               Ingreso_dato.setText(Ingreso_dato.getText() + "3");
            }
    }//GEN-LAST:event_jButton2ActionPerformed

    private void jButton7ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton7ActionPerformed
        if (deteccion)
            {
                Ingreso_dato.setText("");
                Ingreso_dato.setText("4");
                deteccion = false;
            }
           else {
               Ingreso_dato.setText(Ingreso_dato.getText() + "4");
            }
    }//GEN-LAST:event_jButton7ActionPerformed

    private void jButton6ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton6ActionPerformed
        if (deteccion)
            {
                Ingreso_dato.setText("");
                Ingreso_dato.setText("5");
                deteccion = false;
            }
           else {
               Ingreso_dato.setText(Ingreso_dato.getText() + "5");
            }
    }//GEN-LAST:event_jButton6ActionPerformed

    private void jButton5ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton5ActionPerformed
        if (deteccion)
            {
                Ingreso_dato.setText("");
                Ingreso_dato.setText("6");
                deteccion = false;
            }
           else {
               Ingreso_dato.setText(Ingreso_dato.getText() + "6");
            }
    }//GEN-LAST:event_jButton5ActionPerformed

    private void jButton8ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton8ActionPerformed
        if (deteccion)
            {
                Ingreso_dato.setText("");
                Ingreso_dato.setText("7");
                deteccion = false;
            }
           else {
               Ingreso_dato.setText(Ingreso_dato.getText() + "7");
            }
    }//GEN-LAST:event_jButton8ActionPerformed

    private void jButton9ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton9ActionPerformed
        if (deteccion)
            {
                Ingreso_dato.setText("");
                Ingreso_dato.setText("8");
                deteccion = false;
            }
           else {
               Ingreso_dato.setText(Ingreso_dato.getText() + "8");
            }
    }//GEN-LAST:event_jButton9ActionPerformed

    private void jButton10ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton10ActionPerformed
        if (deteccion)
            {
                Ingreso_dato.setText("");
                Ingreso_dato.setText("9");
                deteccion = false;
            }
           else {
               Ingreso_dato.setText(Ingreso_dato.getText() + "9");
            }
    }//GEN-LAST:event_jButton10ActionPerformed

    private void jButton11ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton11ActionPerformed
        if (deteccion)
            {
                Ingreso_dato.setText("");
                Ingreso_dato.setText("0");
                deteccion = false;
            }
           else {
               Ingreso_dato.setText(Ingreso_dato.getText() + "0");
            }
    }//GEN-LAST:event_jButton11ActionPerformed

    private void jButton13ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton13ActionPerformed
        {
        Ingreso_dato.setText(Ingreso_dato.getText().substring(0, Ingreso_dato.getText().length()-1));   
        }
    }//GEN-LAST:event_jButton13ActionPerformed

    private void jButton12ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton12ActionPerformed
        Ingreso_dato.setText("");
        Dato_salida.setText("");
        valor_real.setText("");
        valor_inicial.setText("");
    }//GEN-LAST:event_jButton12ActionPerformed

    private void jButton14ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton14ActionPerformed

      String[] valores = {"Kilometros", "Millas", "Litros", "Galones", "Centimetros", "Pulgadas"};
      String[] conversionhora = {"Seul", "Praga", "Astana", "Luxcemburgo"};
      String[] conversionmoneda = {"Quetzal", "Dolar", "Peso Argentino", "Euro", "Libra"};
      String[] tallas = {"33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43", "44", "45", "46"};
      String comb1, comb2, comb3, comb4, comb5, comb7, comb8; 

      Conversiones valor = new Conversiones(); 
      Conversion_moneda valormoneda = new Conversion_moneda();
      
      comb1 = (String) jComboBox1.getSelectedItem();
      comb2 = (String) jComboBox2.getSelectedItem();
      comb3 = (String) jComboBox3.getSelectedItem();
      comb4 = (String) jComboBox4.getSelectedItem();
      comb7 = (String) jComboBox7.getSelectedItem();
      comb8 = (String) jComboBox8.getSelectedItem();
      comb5 = (String) jComboBox5.getSelectedItem();
         
      
      if(comb1 == valores[0] && comb2 == valores[1])
      {        
          valor.km = Double.parseDouble(Ingreso_dato.getText());
          valor_inicial.setText("1");
          valor_real.setText("0.621371");
          
          Dato_salida.setText(Double.toString(valor.conversionkmamillas()) + " "+"mi");
      }
      if(comb1 == valores[1] && comb2 == valores[0])
      {        
          valor.millas = Double.parseDouble(Ingreso_dato.getText());
          valor_inicial.setText("1");
          valor_real.setText("1,609344");
          
          Dato_salida.setText(Double.toString(valor.conversionesmilasakm()) + " "+"km");
      }
      if(comb1 == valores[1] && comb2 == valores[1])
      {        
          valor.millas = Double.parseDouble(Ingreso_dato.getText());
          valor_inicial.setText("1");
          valor_real.setText("1");
          
          Dato_salida.setText(Ingreso_dato.getText()+ " "+"mi");
      }
      //conversion litro galon
      if(comb1 == valores[2] && comb2 == valores[3])
      {        
          valor.litros = Double.parseDouble(Ingreso_dato.getText());
          valor_inicial.setText("1");
          valor_real.setText("0,264172");
          
          Dato_salida.setText(valor.conversionlitroagalones()+ " "+"gal");
      }
      if(comb1 == valores[3] && comb2 == valores[2])
      {       
          valor.galones = Double.parseDouble(Ingreso_dato.getText());
          valor_inicial.setText("1");
          valor_real.setText("3,785");
          
          Dato_salida.setText(valor.conversiongalonesalitros()+ " "+"ltr");
      }
       if(comb1 == valores[2] && comb2 == valores[2])
      {;         
          valor.galones = Double.parseDouble(Ingreso_dato.getText());
          valor_inicial.setText("1");
          valor_real.setText("1");
          
          Dato_salida.setText(Ingreso_dato.getText()+ " "+"ltr");
      }
       if(comb1 == valores[3] && comb2 == valores[3])
      {         
          valor.galones = Double.parseDouble(Ingreso_dato.getText());
          valor_inicial.setText("1");
          valor_real.setText("1");
          
          Dato_salida.setText(Ingreso_dato.getText()+ " "+"gal");
      }
       if(comb1 == valores[4] && comb2 == valores[5])
      {        
          valor.cm = Double.parseDouble(Ingreso_dato.getText());
          valor_inicial.setText("1");
          valor_real.setText("0.393");
          
          Dato_salida.setText(valor.conversioncmaplg()+ " "+"plg");
          
      }
       if(comb1 == valores[5] && comb2 == valores[4])
      {        
          valor.plg = Double.parseDouble(Ingreso_dato.getText());
          valor_inicial.setText("1");
          valor_real.setText("0.393");
          
          Dato_salida.setText(valor.conversioneplgacm()+ " "+"cm");
      }
       if(comb1 == valores[4] && comb2 == valores[4])
      {        
          valor.cm = Double.parseDouble(Ingreso_dato.getText());
          valor_inicial.setText("1");
          valor_real.setText("1");
          
          Dato_salida.setText(Ingreso_dato.getText()+ " "+"cm");
      }
       if(comb1 == valores[5] && comb2 == valores[5])
      {         
          valor.cm = Double.parseDouble(Ingreso_dato.getText());
          valor_inicial.setText("1");
          valor_real.setText("1");
          
          Dato_salida.setText(Ingreso_dato.getText()+ " "+"plg");
      }  
       // Conversiones de moneda
       if(comb7 == conversionmoneda[0] && comb8 == conversionmoneda[1])
      {         
          valormoneda.quetzal = Double.parseDouble(Ingreso_dato.getText());
          valor_inicial_moneda.setText("Q"+" 1");
          valor_real_moneda.setText("$ "+"7.96");
          
          Dato_salida.setText("$"+" "+valormoneda.quetzaladolar());
      }  
       if(comb7 == conversionmoneda[0] && comb8 == conversionmoneda[2])
      {         
          valormoneda.quetzal = Double.parseDouble(Ingreso_dato.getText());
          valor_inicial_moneda.setText("Q"+" 1");
          valor_real_moneda.setText("$ "+"0.717");
          
          Dato_salida.setText("$"+" "+valormoneda.quetzalapesoar());
      }  
       if(comb7 == conversionmoneda[0] && comb8 == conversionmoneda[3])
      {         
          valormoneda.quetzal = Double.parseDouble(Ingreso_dato.getText());
          valor_inicial_moneda.setText("Q"+" 1");
          valor_real_moneda.setText("€ "+"0.10");
          
          Dato_salida.setText("€"+" "+valormoneda.quetzalaeruro());
      }  
       if(comb7 == conversionmoneda[0] && comb8 == conversionmoneda[4])
      {         
          valormoneda.quetzal = Double.parseDouble(Ingreso_dato.getText());
          valor_inicial_moneda.setText("Q"+" 1");
          valor_real_moneda.setText("£ "+"0.080");
          
          Dato_salida.setText("£"+" "+valormoneda.quetzalalibra());
      }  
       if(comb7 == conversionmoneda[1] && comb8 == conversionmoneda[0])
      {         
          valormoneda.dolar = Double.parseDouble(Ingreso_dato.getText());
          valor_inicial_moneda.setText("$"+" 1");
          valor_real_moneda.setText("Q "+"7.96");
          
          Dato_salida.setText("Q"+" "+valormoneda.dolarquetzal());
      }  
       if(comb7 == conversionmoneda[1] && comb8 == conversionmoneda[2])
      {         
          valormoneda.dolar = Double.parseDouble(Ingreso_dato.getText());
          valor_inicial_moneda.setText("$"+" 1");
          valor_real_moneda.setText("$ "+"5.71");
          
          Dato_salida.setText("$"+" "+valormoneda.dolarapesoAr());
      }  
       if(comb7 == conversionmoneda[1] && comb8 == conversionmoneda[3])
      {         
          valormoneda.dolar = Double.parseDouble(Ingreso_dato.getText());
          valor_inicial_moneda.setText("$"+" 1");
          valor_real_moneda.setText("€ "+"0.7");
          
          Dato_salida.setText("€"+" "+valormoneda.dolareuro());
      }  
       if(comb7 == conversionmoneda[1] && comb8 == conversionmoneda[4])
      {         
          valormoneda.dolar = Double.parseDouble(Ingreso_dato.getText());
          valor_inicial_moneda.setText("$"+" 1");
          valor_real_moneda.setText("£ "+"0.6");
          
          Dato_salida.setText("£"+" "+valormoneda.dolarlibra());
      }  
       if(comb7 == conversionmoneda[2] && comb8 == conversionmoneda[0])
      {         
          valormoneda.pesoAr = Double.parseDouble(Ingreso_dato.getText());
          valor_inicial_moneda.setText("$"+" 1");
          valor_real_moneda.setText("Q "+"1.39423");
          
          Dato_salida.setText("Q"+" "+valormoneda.pesoarquetzal());
      }  
       if(comb7 == conversionmoneda[2] && comb8 == conversionmoneda[1])
      {         
          valormoneda.pesoAr = Double.parseDouble(Ingreso_dato.getText());
          valor_inicial_moneda.setText("$"+" 1");
          valor_real_moneda.setText("$ "+"0.13198");
          
          Dato_salida.setText("$"+" "+valormoneda.pesoareuro());
      }  
       if(comb7 == conversionmoneda[2] && comb8 == conversionmoneda[3])
      {         
          valormoneda.pesoAr = Double.parseDouble(Ingreso_dato.getText());
          valor_inicial_moneda.setText("$"+" 1");
          valor_real_moneda.setText("€ "+"0.1");
          
          Dato_salida.setText("€ "+valormoneda.pesoareuro());
      }  
        if(comb7 == conversionmoneda[2] && comb8 == conversionmoneda[4])
      {         
          valormoneda.pesoAr = Double.parseDouble(Ingreso_dato.getText());
          valor_inicial_moneda.setText("$"+" 1");
          valor_real_moneda.setText("£ "+"0.11");
          
          Dato_salida.setText("£ "+valormoneda.pesoarlibra());
      }  
        if(comb7 == conversionmoneda[3] && comb8 == conversionmoneda[0])
      {         
          valormoneda.Euro = Double.parseDouble(Ingreso_dato.getText());
          valor_inicial_moneda.setText("€"+" 1");
          valor_real_moneda.setText("Q "+"10.56");
          
          Dato_salida.setText("Q "+valormoneda.euroquetzal());
      } 
        if(comb7 == conversionmoneda[3] && comb8 == conversionmoneda[1])
      {         
          valormoneda.Euro = Double.parseDouble(Ingreso_dato.getText());
          valor_inicial_moneda.setText("€"+" 1");
          valor_real_moneda.setText("$ "+"1.32");
          
          Dato_salida.setText("€ "+valormoneda.eurodolar());
      } 
        if(comb7 == conversionmoneda[3] && comb8 == conversionmoneda[2])
      {         
          valormoneda.Euro = Double.parseDouble(Ingreso_dato.getText());
          valor_inicial_moneda.setText("€"+" 1");
          valor_real_moneda.setText("$ "+"7.5");
          
          Dato_salida.setText("$ "+valormoneda.europesoAr());
      } 
        if(comb7 == conversionmoneda[3] && comb8 == conversionmoneda[4])
      {         
          valormoneda.Euro = Double.parseDouble(Ingreso_dato.getText());
          valor_inicial_moneda.setText("€"+" 1");
          valor_real_moneda.setText("£ "+"0.8");
          
          Dato_salida.setText("£ "+valormoneda.eurolibra());
      } 
        if(comb7 == conversionmoneda[4] && comb8 == conversionmoneda[0])
      {         
          valormoneda.libra = Double.parseDouble(Ingreso_dato.getText());
          valor_inicial_moneda.setText("£"+" 1");
          valor_real_moneda.setText("Q "+"12.5");
          
          Dato_salida.setText("Q "+valormoneda.libraquetzal());
      } 
        if(comb7 == conversionmoneda[4] && comb8 == conversionmoneda[1])
      {         
          valormoneda.libra = Double.parseDouble(Ingreso_dato.getText());
          valor_inicial_moneda.setText("£"+" 1");
          valor_real_moneda.setText("$ "+"1.5");
          
          Dato_salida.setText("$ "+valormoneda.libradolar());
      } 
        if(comb7 == conversionmoneda[4] && comb8 == conversionmoneda[2])
      {         
          valormoneda.libra = Double.parseDouble(Ingreso_dato.getText());
          valor_inicial_moneda.setText("£"+" 1");
          valor_real_moneda.setText("$ "+"8.9");
          
          Dato_salida.setText("$ "+valormoneda.librapesoAr());
      } 
        if(comb7 == conversionmoneda[4] && comb8 == conversionmoneda[3])
      {         
          valormoneda.libra = Double.parseDouble(Ingreso_dato.getText());
          valor_inicial_moneda.setText("£"+" 1");
          valor_real_moneda.setText("€ "+"1.1");
          
          Dato_salida.setText("€ "+valormoneda.libraeuro());
      } 
        if(comb5 == tallas[0])
        {
          
            String[] talla33  ={"Region       Hombre         Mujer"};
            String[] lineava  ={""};
            String[] Europa =  {"Europa           35                22"};
            String[] ReinoU =  {"Reino U            3                2.5"};
            String[] USAyCan = {"USA                3.5                5"};
            String[] japon =   {"Japon            21.5             21"};
            String[] astralia ={"Australia          3               3.5"};
            String[] Guatemala={"Guatemala    28               25"};
            
                DefaultListModel modelo = new DefaultListModel();
                jList1.setModel(modelo);
                
                modelo.addElement(talla33[0]);
                modelo.addElement(lineava[0]);
                modelo.addElement(Europa[0]);
                modelo.addElement(ReinoU[0]);
                modelo.addElement(USAyCan[0]);
                modelo.addElement(japon[0]);
                modelo.addElement(astralia[0]);
                modelo.addElement(Guatemala[0]);         
        }
        if(comb5 == tallas[1])
        {
          
            String[] talla33  ={"Region       Hombre         Mujer"};
            String[] lineava  ={""};
            String[] Europa =  {"Europa           36                   23"};
            String[] ReinoU =  {"Reino U           4                   3.5"};
            String[] USAyCan = {"USA               4.5                   6"};
            String[] japon =   {"Japon            22.5                 22"};
            String[] astralia ={"Australia          4                  4.5"};
            String[] Guatemala={"Guatemala    29                   26"};
            
                DefaultListModel modelo = new DefaultListModel();
                jList1.setModel(modelo);
                
                modelo.addElement(talla33[0]);
                modelo.addElement(lineava[0]);
                modelo.addElement(Europa[0]);
                modelo.addElement(ReinoU[0]);
                modelo.addElement(USAyCan[0]);
                modelo.addElement(japon[0]);
                modelo.addElement(astralia[0]);
                modelo.addElement(Guatemala[0]);    
        }
        if(comb5 == tallas[2])
        {
          
            String[] talla33  ={"Region       Hombre         Mujer"};
            String[] lineava  ={""};
            String[] Europa =  {"Europa           37                 24"};
            String[] ReinoU =  {"Reino U         4.5                   4"};
            String[] USAyCan = {"USA                 5                6.5"};
            String[] japon =   {"Japon              23             22.5"};
            String[] astralia ={"Australia        4.5                  5"};
            String[] Guatemala={"Guatemala    30                 27"};
            
                DefaultListModel modelo = new DefaultListModel();
                jList1.setModel(modelo);
                
                modelo.addElement(talla33[0]);
                modelo.addElement(lineava[0]);
                modelo.addElement(Europa[0]);
                modelo.addElement(ReinoU[0]);
                modelo.addElement(USAyCan[0]);
                modelo.addElement(japon[0]);
                modelo.addElement(astralia[0]);
                modelo.addElement(Guatemala[0]);    
        }
         if(comb5 == tallas[3])
        {
          
            String[] talla33  ={"Region       Hombre         Mujer"};
            String[] lineava  ={""};
            String[] Europa =  {"Europa          38                  25"};
            String[] ReinoU =  {"Reino U        5.5                    5"};
            String[] USAyCan = {"USA                 6                 7.5"};
            String[] japon =   {"Japon              24              23.5"};
            String[] astralia ={"Australia        5.5                  6"};
            String[] Guatemala={"Guatemala    30                 27"};
            
                DefaultListModel modelo = new DefaultListModel();
                jList1.setModel(modelo);
                
                modelo.addElement(talla33[0]);
                modelo.addElement(lineava[0]);
                modelo.addElement(Europa[0]);
                modelo.addElement(ReinoU[0]);
                modelo.addElement(USAyCan[0]);
                modelo.addElement(japon[0]);
                modelo.addElement(astralia[0]);
                modelo.addElement(Guatemala[0]);    
        }
         if(comb5 == tallas[4])
        {
          
            String[] talla33  ={"Region       Hombre         Mujer"};
            String[] lineava  ={""};
            String[] Europa =  {"Europa         39                   26"};
            String[] ReinoU =  {"Reino U       6.5                     6"};
            String[] USAyCan = {"USA                7                 8.5"};
            String[] japon =   {"Japon             25               24.5"};
            String[] astralia ={"Australia         6.5                   7"};
            String[] Guatemala={"Guatemala    31                   28"};
            
                DefaultListModel modelo = new DefaultListModel();
                jList1.setModel(modelo);
                
                modelo.addElement(talla33[0]);
                modelo.addElement(lineava[0]);
                modelo.addElement(Europa[0]);
                modelo.addElement(ReinoU[0]);
                modelo.addElement(USAyCan[0]);
                modelo.addElement(japon[0]);
                modelo.addElement(astralia[0]);
                modelo.addElement(Guatemala[0]);    
        }
          if(comb5 == tallas[5])
        {
          
            String[] talla33  ={"Region       Hombre         Mujer"};
            String[] lineava  ={""};
            String[] Europa =  {"Europa         40                   27"};
            String[] ReinoU =  {"Reino U       6.5                   7.5"};
            String[] USAyCan = {"USA              7.5                   9"};
            String[] japon =   {"Japon           25.5                 25"};
            String[] astralia ={"Australia           7                 7.5"};
            String[] Guatemala={"Guatemala    32                   29"};
            
                DefaultListModel modelo = new DefaultListModel();
                jList1.setModel(modelo);
                
                modelo.addElement(talla33[0]);
                modelo.addElement(lineava[0]);
                modelo.addElement(Europa[0]);
                modelo.addElement(ReinoU[0]);
                modelo.addElement(USAyCan[0]);
                modelo.addElement(japon[0]);
                modelo.addElement(astralia[0]);
                modelo.addElement(Guatemala[0]);    
        }
          if(comb5 == tallas[6])
        {
          
            String[] talla33  ={"Region       Hombre         Mujer"};
            String[] lineava  ={""};
            String[] Europa =  {"Europa         41                   28"};
            String[] ReinoU =  {"Reino U       7.5                     7"};
            String[] USAyCan = {"USA               8                 9.5"};
            String[] japon =   {"Japon             26               25.5"};
            String[] astralia ={"Australia         7.5                   8"};
            String[] Guatemala={"Guatemala    33                   30"};
            
                DefaultListModel modelo = new DefaultListModel();
                jList1.setModel(modelo);
                
                modelo.addElement(talla33[0]);
                modelo.addElement(lineava[0]);
                modelo.addElement(Europa[0]);
                modelo.addElement(ReinoU[0]);
                modelo.addElement(USAyCan[0]);
                modelo.addElement(japon[0]);
                modelo.addElement(astralia[0]);
                modelo.addElement(Guatemala[0]);    
        }
          if(comb5 == tallas[7])
        {
          
            String[] talla33  ={"Region       Hombre         Mujer"};
            String[] lineava  ={""};
            String[] Europa =  {"Europa         42                   29"};
            String[] ReinoU =  {"Reino U         8                   7.5"};
            String[] USAyCan = {"USA             8.5                   10"};
            String[] japon =   {"Japon           26.5                 26"};
            String[] astralia ={"Australia           8                 8.5"};
            String[] Guatemala={"Guatemala    34                   31"};
            
                DefaultListModel modelo = new DefaultListModel();
                jList1.setModel(modelo);
                
                modelo.addElement(talla33[0]);
                modelo.addElement(lineava[0]);
                modelo.addElement(Europa[0]);
                modelo.addElement(ReinoU[0]);
                modelo.addElement(USAyCan[0]);
                modelo.addElement(japon[0]);
                modelo.addElement(astralia[0]);
                modelo.addElement(Guatemala[0]);    
        }
          if(comb5 == tallas[8])
        {
          
            String[] talla33  ={"Region       Hombre         Mujer"};
            String[] lineava  ={""};
            String[] Europa =  {"Europa         43                   30"};
            String[] ReinoU =  {"Reino U       8.5                     8"};
            String[] USAyCan = {"USA               9                 10.5"};
            String[] japon =   {"Japon           27.5                 27"};
            String[] astralia ={"Australia         8.5                   9"};
            String[] Guatemala={"Guatemala    35                   32"};
            
                DefaultListModel modelo = new DefaultListModel();
                jList1.setModel(modelo);
                
                modelo.addElement(talla33[0]);
                modelo.addElement(lineava[0]);
                modelo.addElement(Europa[0]);
                modelo.addElement(ReinoU[0]);
                modelo.addElement(USAyCan[0]);
                modelo.addElement(japon[0]);
                modelo.addElement(astralia[0]);
                modelo.addElement(Guatemala[0]);    
        }
          if(comb5 == tallas[9])
        {
          
            String[] talla33  ={"Region       Hombre         Mujer"};
            String[] lineava  ={""};
            String[] Europa =  {"Europa         44                   31"};
            String[] ReinoU =  {"Reino U        10                   9.5"};
            String[] USAyCan = {"USA             10.5                   12"};
            String[] japon =   {"Japon           28.5                 28"};
            String[] astralia ={"Australia          10                10.5"};
            String[] Guatemala={"Guatemala    36                   33"};
            
                DefaultListModel modelo = new DefaultListModel();
                jList1.setModel(modelo);
                
                modelo.addElement(talla33[0]);
                modelo.addElement(lineava[0]);
                modelo.addElement(Europa[0]);
                modelo.addElement(ReinoU[0]);
                modelo.addElement(USAyCan[0]);
                modelo.addElement(japon[0]);
                modelo.addElement(astralia[0]);
                modelo.addElement(Guatemala[0]);    
        }
           if(comb5 == tallas[10])
        {
          
            String[] talla33  ={"Region       Hombre         Mujer"};
            String[] lineava  ={""};
            String[] Europa =  {"Europa         45                   32"};
            String[] ReinoU =  {"Reino U        11                  10.5"};
            String[] USAyCan = {"USA             11.5                   13"};
            String[] japon =   {"Japon           29.5                 29"};
            String[] astralia ={"Australia          11                11.5"};
            String[] Guatemala={"Guatemala    38                   34"};
            
                DefaultListModel modelo = new DefaultListModel();
                jList1.setModel(modelo);
                
                modelo.addElement(talla33[0]);
                modelo.addElement(lineava[0]);
                modelo.addElement(Europa[0]);
                modelo.addElement(ReinoU[0]);
                modelo.addElement(USAyCan[0]);
                modelo.addElement(japon[0]);
                modelo.addElement(astralia[0]);
                modelo.addElement(Guatemala[0]);    
        }
           if(comb5 == tallas[11])
        {
          
            String[] talla33  ={"Region       Hombre         Mujer"};
            String[] lineava  ={""};
            String[] Europa =  {"Europa       46.5                   33"};
            String[] ReinoU =  {"Reino U        12                  11.5"};
            String[] USAyCan = {"USA             12.5                 11.5"};
            String[] japon =   {"Japon           30.5                 30"};
            String[] astralia ={"Australia          12                12.5"};
            String[] Guatemala={"Guatemala    39                   35"};
            
                DefaultListModel modelo = new DefaultListModel();
                jList1.setModel(modelo);
                
                modelo.addElement(talla33[0]);
                modelo.addElement(lineava[0]);
                modelo.addElement(Europa[0]);
                modelo.addElement(ReinoU[0]);
                modelo.addElement(USAyCan[0]);
                modelo.addElement(japon[0]);
                modelo.addElement(astralia[0]);
                modelo.addElement(Guatemala[0]);    
        }
           if(comb5 == tallas[12])
        {
          
            String[] talla33  ={"Region       Hombre         Mujer"};
            String[] lineava  ={""};
            String[] Europa =  {"Europa       48.5                  34"};
            String[] ReinoU =  {"Reino U      13.5                    13"};
            String[] USAyCan = {"USA               14                 15.5"};
            String[] japon =   {"Japon           31.5                 31"};
            String[] astralia ={"Australia        13.5                  14"};
            String[] Guatemala={"Guatemala    40                   36"};
            
                DefaultListModel modelo = new DefaultListModel();
                jList1.setModel(modelo);
                
                modelo.addElement(talla33[0]);
                modelo.addElement(lineava[0]);
                modelo.addElement(Europa[0]);
                modelo.addElement(ReinoU[0]);
                modelo.addElement(USAyCan[0]);
                modelo.addElement(japon[0]);
                modelo.addElement(astralia[0]);
                modelo.addElement(Guatemala[0]);    
        }
           if(comb3 == conversionhora[0] && comb4 == conversionhora[1]) 
       {      
           //horario seul
        TimeZone siria = TimeZone.getTimeZone("GMT+9");
        Calendar cal = Calendar.getInstance(siria);
        
        //horario praga
        TimeZone praga = TimeZone.getTimeZone("GMT+1");
        Calendar praga1 = Calendar.getInstance(praga);
        
        //formato hora seul
        DateFormat formatersiria = DateFormat.getDateTimeInstance();
        formatersiria.setTimeZone(TimeZone.getTimeZone("GMT+9"));
        
        //formato hora praga
        DateFormat formaterpraga = DateFormat.getDateTimeInstance();
        formatersiria.setTimeZone(TimeZone.getTimeZone("GMT+1"));
        
        hora_saliente.setText(formatersiria.format(cal.getTime()));
        hora_actual.setText(formaterpraga.format(praga1.getTime()));
        
       }
           if(comb3 == conversionhora[0] && comb4 == conversionhora[2]) 
       {      
           //horario seul
        TimeZone siria = TimeZone.getTimeZone("GMT+9");
        Calendar cal = Calendar.getInstance(siria);
        
        //horario astana
        TimeZone astana = TimeZone.getTimeZone("GMT+6");
        Calendar astana1 = Calendar.getInstance(astana);
        
        //formato hora seul
        DateFormat formatersiria = DateFormat.getDateTimeInstance();
        formatersiria.setTimeZone(TimeZone.getTimeZone("GMT+9"));
        
        //formato hora praga
        DateFormat formaterpraga = DateFormat.getDateTimeInstance();
        formatersiria.setTimeZone(TimeZone.getTimeZone("GMT+6"));
        
        hora_saliente.setText(formatersiria.format(cal.getTime()));
        hora_actual.setText(formaterpraga.format(astana1.getTime()));
        
       }
           if(comb3 == conversionhora[0] && comb4 == conversionhora[3]) 
       {      
           //horario seul
        TimeZone siria = TimeZone.getTimeZone("GMT+9");
        Calendar cal = Calendar.getInstance(siria);
        
        //horario luxcemburgo
        TimeZone luxcemburgo = TimeZone.getTimeZone("GMT+1");
        Calendar calluxemburgo = Calendar.getInstance(luxcemburgo);
        
        //formato hora seul
        DateFormat formatersiria = DateFormat.getDateTimeInstance();
        formatersiria.setTimeZone(TimeZone.getTimeZone("GMT+9"));
        
        //formato hora luxcemburgo
        DateFormat formaterpraga = DateFormat.getDateTimeInstance();
        formatersiria.setTimeZone(TimeZone.getTimeZone("GMT+1"));
        
        hora_saliente.setText(formatersiria.format(cal.getTime()));
        hora_actual.setText(formaterpraga.format(calluxemburgo.getTime()));
        
       }
           if(comb3 == conversionhora[1] && comb4 == conversionhora[0]) 
       {      
           //horario praga
        TimeZone praga = TimeZone.getTimeZone("GMT+1");
        Calendar calpraga = Calendar.getInstance(praga);
        
        //horario seul
        TimeZone siria2 = TimeZone.getTimeZone("GMT+9");
        Calendar calsiria = Calendar.getInstance(siria2);
        
        //formato hora praga
        DateFormat formaterpraga2 = DateFormat.getDateTimeInstance();
        formaterpraga2.setTimeZone(TimeZone.getTimeZone("GMT+1"));
        
        //formato hora seul
        DateFormat formatersiria = DateFormat.getDateTimeInstance();
        formatersiria.setTimeZone(TimeZone.getTimeZone("GMT+9"));
        
        hora_actual.setText(formaterpraga2.format(calpraga.getTime()));
        hora_saliente.setText(formatersiria.format(calsiria.getTime()));
       }
           if(comb3 == conversionhora[1] && comb4 == conversionhora[2]) 
       {      
           //horario praga
        TimeZone praga = TimeZone.getTimeZone("GMT+1");
        Calendar calpraga = Calendar.getInstance(praga);
        
        //horario astana
        TimeZone astana2 = TimeZone.getTimeZone("GMT+6");
        Calendar calastana = Calendar.getInstance(astana2);
        
        //formato hora praga
        DateFormat formaterpraga2 = DateFormat.getDateTimeInstance();
        formaterpraga2.setTimeZone(TimeZone.getTimeZone("GMT+1"));
        
        //formato hora astana
        DateFormat formaterastana = DateFormat.getDateTimeInstance();
        formaterastana.setTimeZone(TimeZone.getTimeZone("GMT+6"));
        
        hora_actual.setText(formaterpraga2.format(calpraga.getTime()));
        hora_saliente.setText(formaterastana.format(calastana.getTime()));
       }
           if(comb3 == conversionhora[1] && comb4 == conversionhora[3]) 
       {      
           //horario praga
        TimeZone praga = TimeZone.getTimeZone("GMT+1");
        Calendar calpraga = Calendar.getInstance(praga);
        
        //horario luxcemburgo
        TimeZone luxcemburgo2 = TimeZone.getTimeZone("GMT+1");
        Calendar calluxcemburgo = Calendar.getInstance(luxcemburgo2);
        
        //formato hora praga
        DateFormat formaterpraga2 = DateFormat.getDateTimeInstance();
        formaterpraga2.setTimeZone(TimeZone.getTimeZone("GMT+1"));
        
        //formato hora luxcemburgo
        DateFormat formaterlux = DateFormat.getDateTimeInstance();
        formaterlux.setTimeZone(TimeZone.getTimeZone("GMT+1"));
        
        hora_actual.setText(formaterpraga2.format(calpraga.getTime()));
        hora_saliente.setText(formaterlux.format(calluxcemburgo.getTime()));
       }
           if(comb3 == conversionhora[2] && comb4 == conversionhora[0]) 
       {      
           //horario astana
        TimeZone astana = TimeZone.getTimeZone("GMT+6");
        Calendar calastana = Calendar.getInstance(astana);
        
        //horario seul
        TimeZone seul = TimeZone.getTimeZone("GMT+9");
        Calendar calseul = Calendar.getInstance(seul);
        
        //formato hora astana
        DateFormat formatastana = DateFormat.getDateTimeInstance();
        formatastana.setTimeZone(TimeZone.getTimeZone("GMT+6"));
        
        //formato hora seul
        DateFormat formaterseul = DateFormat.getDateTimeInstance();
        formaterseul.setTimeZone(TimeZone.getTimeZone("GMT+9"));
        
        hora_actual.setText(formatastana.format(calastana.getTime()));
        hora_saliente.setText(formaterseul.format(calseul.getTime()));
       }
           if(comb3 == conversionhora[2] && comb4 == conversionhora[1]) 
       {      
           //horario astana
        TimeZone astana = TimeZone.getTimeZone("GMT+6");
        Calendar calastana = Calendar.getInstance(astana);
        
        //horario praga
        TimeZone seul = TimeZone.getTimeZone("GMT+1");
        Calendar calseul = Calendar.getInstance(seul);
        
        //formato hora astana
        DateFormat formatastana = DateFormat.getDateTimeInstance();
        formatastana.setTimeZone(TimeZone.getTimeZone("GMT+6"));
        
        //formato hora praga
        DateFormat formaterseul = DateFormat.getDateTimeInstance();
        formaterseul.setTimeZone(TimeZone.getTimeZone("GMT+1"));
        
        hora_actual.setText(formatastana.format(calastana.getTime()));
        hora_saliente.setText(formaterseul.format(calseul.getTime()));
       }
           if(comb3 == conversionhora[2] && comb4 == conversionhora[3]) 
       {      
           //horario astana
        TimeZone astana = TimeZone.getTimeZone("GMT+6");
        Calendar calastana = Calendar.getInstance(astana);
        
        //horario lux
        TimeZone seul = TimeZone.getTimeZone("GMT+1");
        Calendar calseul = Calendar.getInstance(seul);
        
        //formato hora astana
        DateFormat formatastana = DateFormat.getDateTimeInstance();
        formatastana.setTimeZone(TimeZone.getTimeZone("GMT+6"));
        
        //formato hora lux
        DateFormat formaterseul = DateFormat.getDateTimeInstance();
        formaterseul.setTimeZone(TimeZone.getTimeZone("GMT+1"));
        
        hora_actual.setText(formatastana.format(calastana.getTime()));
        hora_saliente.setText(formaterseul.format(calseul.getTime()));
       }
           if(comb3 == conversionhora[3] && comb4 == conversionhora[0]) 
       {      
           //horario lux
        TimeZone astana = TimeZone.getTimeZone("GMT+1");
        Calendar calastana = Calendar.getInstance(astana);
        
        //horario seul
        TimeZone seul = TimeZone.getTimeZone("GMT+9");
        Calendar calseul = Calendar.getInstance(seul);
        
        //formato hora lux
        DateFormat formatastana = DateFormat.getDateTimeInstance();
        formatastana.setTimeZone(TimeZone.getTimeZone("GMT+1"));
        
        //formato hora seul
        DateFormat formaterseul = DateFormat.getDateTimeInstance();
        formaterseul.setTimeZone(TimeZone.getTimeZone("GMT+9"));
        
        hora_actual.setText(formatastana.format(calastana.getTime()));
        hora_saliente.setText(formaterseul.format(calseul.getTime()));
       }
            if(comb3 == conversionhora[3] && comb4 == conversionhora[1]) 
       {      
           //horario lux
        TimeZone astana = TimeZone.getTimeZone("GMT+1");
        Calendar calastana = Calendar.getInstance(astana);
        
        //horario praga
        TimeZone seul = TimeZone.getTimeZone("GMT+1");
        Calendar calseul = Calendar.getInstance(seul);
        
        //formato hora lux
        DateFormat formatastana = DateFormat.getDateTimeInstance();
        formatastana.setTimeZone(TimeZone.getTimeZone("GMT+1"));
        
        //formato hora seul
        DateFormat formaterseul = DateFormat.getDateTimeInstance();
        formaterseul.setTimeZone(TimeZone.getTimeZone("GMT+1"));
        
        hora_actual.setText(formatastana.format(calastana.getTime()));
        hora_saliente.setText(formaterseul.format(calseul.getTime()));
       }
             if(comb3 == conversionhora[3] && comb4 == conversionhora[2]) 
       {      
           //horario lux
        TimeZone astana = TimeZone.getTimeZone("GMT+1");
        Calendar calastana = Calendar.getInstance(astana);
        
        //horario astana
        TimeZone seul = TimeZone.getTimeZone("GMT+6");
        Calendar calseul = Calendar.getInstance(seul);
        
        //formato hora lux
        DateFormat formatastana = DateFormat.getDateTimeInstance();
        formatastana.setTimeZone(TimeZone.getTimeZone("GMT+1"));
        
        //formato hora astana
        DateFormat formaterseul = DateFormat.getDateTimeInstance();
        formaterseul.setTimeZone(TimeZone.getTimeZone("GMT+6"));
        
        hora_actual.setText(formatastana.format(calastana.getTime()));
        hora_saliente.setText(formaterseul.format(calseul.getTime()));
       }
             if(comb3 == conversionhora[0] && comb4 == conversionhora[0]) 
       {      
           //horario seul
        TimeZone astana = TimeZone.getTimeZone("GMT+9");
        Calendar calastana = Calendar.getInstance(astana);
        
        //horario seul
        TimeZone seul = TimeZone.getTimeZone("GMT+9");
        Calendar calseul = Calendar.getInstance(seul);
        
        //formato hora seul
        DateFormat formatastana = DateFormat.getDateTimeInstance();
        formatastana.setTimeZone(TimeZone.getTimeZone("GMT+9"));
        
        //formato hora seul
        DateFormat formaterseul = DateFormat.getDateTimeInstance();
        formaterseul.setTimeZone(TimeZone.getTimeZone("GMT+9"));
        
        hora_actual.setText(formatastana.format(calastana.getTime()));
        hora_saliente.setText(formaterseul.format(calseul.getTime()));
       }
             if(comb3 == conversionhora[1] && comb4 == conversionhora[1]) 
       {      
           //horario praga
        TimeZone astana = TimeZone.getTimeZone("GMT+1");
        Calendar calastana = Calendar.getInstance(astana);
        
        //horario praga
        TimeZone seul = TimeZone.getTimeZone("GMT+1");
        Calendar calseul = Calendar.getInstance(seul);
        
        //formato hora praga
        DateFormat formatastana = DateFormat.getDateTimeInstance();
        formatastana.setTimeZone(TimeZone.getTimeZone("GMT+1"));
        
        //formato hora praga
        DateFormat formaterseul = DateFormat.getDateTimeInstance();
        formaterseul.setTimeZone(TimeZone.getTimeZone("GMT+1"));
        
        hora_actual.setText(formatastana.format(calastana.getTime()));
        hora_saliente.setText(formaterseul.format(calseul.getTime()));
       }
              if(comb3 == conversionhora[2] && comb4 == conversionhora[2]) 
       {      
           //horario astana
        TimeZone astana = TimeZone.getTimeZone("GMT+6");
        Calendar calastana = Calendar.getInstance(astana);
        
        //horario astana
        TimeZone seul = TimeZone.getTimeZone("GMT+6");
        Calendar calseul = Calendar.getInstance(seul);
        
        //formato hora astana
        DateFormat formatastana = DateFormat.getDateTimeInstance();
        formatastana.setTimeZone(TimeZone.getTimeZone("GMT+6"));
        
        //formato hora astana
        DateFormat formaterseul = DateFormat.getDateTimeInstance();
        formaterseul.setTimeZone(TimeZone.getTimeZone("GMT+6"));
        
        hora_actual.setText(formatastana.format(calastana.getTime()));
        hora_saliente.setText(formaterseul.format(calseul.getTime()));
       }
               if(comb3 == conversionhora[2] && comb4 == conversionhora[2]) 
       {      
           //horario lux
        TimeZone astana = TimeZone.getTimeZone("GMT+1");
        Calendar calastana = Calendar.getInstance(astana);
        
        //horario lux
        TimeZone seul = TimeZone.getTimeZone("GMT+1");
        Calendar calseul = Calendar.getInstance(seul);
        
        //formato hora lux
        DateFormat formatastana = DateFormat.getDateTimeInstance();
        formatastana.setTimeZone(TimeZone.getTimeZone("GMT+1"));
        
        //formato hora lux
        DateFormat formaterseul = DateFormat.getDateTimeInstance();
        formaterseul.setTimeZone(TimeZone.getTimeZone("GMT+1"));
        
        hora_actual.setText(formatastana.format(calastana.getTime()));
        hora_saliente.setText(formaterseul.format(calseul.getTime()));
       }
    }//GEN-LAST:event_jButton14ActionPerformed

    private void jMenu5ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMenu5ActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_jMenu5ActionPerformed
    
    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        /* Set the Nimbus look and feel */
        //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
        /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
         * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html 
         */
        try {
            for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
                if ("Nimbus".equals(info.getName())) {
                    javax.swing.UIManager.setLookAndFeel(info.getClassName());
                    break;
                }
            }
        } catch (ClassNotFoundException ex) {
            java.util.logging.Logger.getLogger(Diseño_Clases_Varias.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (InstantiationException ex) {
            java.util.logging.Logger.getLogger(Diseño_Clases_Varias.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            java.util.logging.Logger.getLogger(Diseño_Clases_Varias.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(Diseño_Clases_Varias.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        }
        //</editor-fold>

        /* Create and display the form */
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                new Diseño_Clases_Varias().setVisible(true);
            }
        });
    }
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JFormattedTextField Dato_salida;
    private javax.swing.JTextField Ingreso_dato;
    private javax.swing.JFormattedTextField hora_actual;
    private javax.swing.JFormattedTextField hora_saliente;
    private javax.swing.JButton jButton1;
    private javax.swing.JButton jButton10;
    private javax.swing.JButton jButton11;
    private javax.swing.JButton jButton12;
    private javax.swing.JButton jButton13;
    private javax.swing.JButton jButton14;
    private javax.swing.JButton jButton2;
    private javax.swing.JButton jButton3;
    private javax.swing.JButton jButton4;
    private javax.swing.JButton jButton5;
    private javax.swing.JButton jButton6;
    private javax.swing.JButton jButton7;
    private javax.swing.JButton jButton8;
    private javax.swing.JButton jButton9;
    private javax.swing.JCheckBoxMenuItem jCheckBoxMenuItem1;
    private javax.swing.JComboBox jComboBox1;
    private javax.swing.JComboBox jComboBox2;
    private javax.swing.JComboBox jComboBox3;
    private javax.swing.JComboBox jComboBox4;
    private javax.swing.JComboBox jComboBox5;
    private javax.swing.JComboBox jComboBox7;
    private javax.swing.JComboBox jComboBox8;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel10;
    private javax.swing.JLabel jLabel11;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JLabel jLabel6;
    private javax.swing.JLabel jLabel7;
    private javax.swing.JLabel jLabel8;
    private javax.swing.JLabel jLabel9;
    private javax.swing.JList jList1;
    private javax.swing.JMenu jMenu1;
    private javax.swing.JMenu jMenu2;
    private javax.swing.JMenu jMenu3;
    private javax.swing.JMenu jMenu4;
    private javax.swing.JMenu jMenu5;
    private javax.swing.JMenuBar jMenuBar1;
    private javax.swing.JMenuItem jMenuItem1;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JPanel jPanel2;
    private javax.swing.JPanel jPanel3;
    private javax.swing.JPanel jPanel4;
    private javax.swing.JPanel jPanel5;
    private javax.swing.JRadioButtonMenuItem jRadioButtonMenuItem1;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JTabbedPane jTabbedPane1;
    private javax.swing.JTextField valor_inicial;
    private javax.swing.JTextField valor_inicial_moneda;
    private javax.swing.JTextField valor_real;
    private javax.swing.JTextField valor_real_moneda;
    // End of variables declaration//GEN-END:variables
}
